﻿//---------------------------------------------------------------------------------
// Microsoft (R)  Windows Azure Platform AppFabric SDK
// Software Development Kit
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
// OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
//---------------------------------------------------------------------------------

namespace Microsoft.ServiceBus.Samples
{
	using System.ServiceModel;

	[ServiceContract(Name = "ITraceContract",
									 Namespace = "http://samples.microsoft.com/ServiceModel/Relay/CloudTrace",
									 SessionMode = SessionMode.Allowed)]
	public interface ITraceContract
	{
		[OperationContract(IsOneWay = true, Name = "Write")]
		void Write(string message);

		[OperationContract(IsOneWay = true, Name = "WriteLine")]
		void WriteLine(string message);
	}

	public interface ITraceChannel : ITraceContract, IClientChannel { }
}